package com.bw.message.net

import com.bw.base.constants.ApiConst
import com.bw.message.model.MessageEntity
import com.bw.http.utils.Res
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {

    @GET(ApiConst.URL_GET_MESSAGE)
    suspend fun getMessage(
        @Query("accessId") accessId: Int,
        @Query("userId") userId: Int
    ): Res<List<MessageEntity>>
}